Mac OS X equivalent header file for `sysinfo.h` in Linux

Posted by pcbabu on Stack Overflow See other posts from Stack Overflow or by pcbabu
Published on 2012-09-21T03:07:45Z Indexed on 2012/09/21 3:37 UTC
Read the original article Hit count: 1490

Filed under:
|
|
|

Is there any Mac OS X equivalent header file for sysinfo.h in Linux. I am porting code from Linux to Mac but the structure struct sysinfo is not found.

Edit: ==More info== In Linux platform I use a Header file <sys/sysinfo.h> which is not found in Mac. By including the header in Linux I perform following operation: struct sysinfo s; sysinfo(&s);

Which in result give me some system related info. Now as I porting my project from Linux to Mac I want to know is there any similar functionality serve by Mac.

Please help.

Thanks in advance.

© Stack Overflow or respective owner

Related posts about linux

Related posts about osx